package com.xiaoyi;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author xiaoyi
 * @version 1.0.0
 * @date 2023/03/08 17:29:00
 */
@ConfigurationProperties(prefix = "spring.datasource.equery")
public class EqueryDataSourceProperties {
    /**
      *  驱动类名称
      * @author xiaoyi
      * @version 1.0.0
      * @date 2023/3/8 19:01
      */
    private String driverClassName;
    /**
      * 数据库连接url
      * @author xiaoyi
      * @version 1.0.0
      * @date 2023/3/8 19:01
      */
    private String url;
    /**
      * 数据库连接账号
      * @author xiaoyi
      * @version 1.0.0
      * @date 2023/3/8 19:01
      */
    private String username;
    /**
      * 数据库连接密码
      * @author xiaoyi
      * @version 1.0.0
      * @date 2023/3/8 19:02
      */
    private String password;

    public String getDriverClassName() {
        return driverClassName;
    }

    public void setDriverClassName(String driverClassName) {
        this.driverClassName = driverClassName;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
